Design of automated test cases 设计自动化测试用例
One of the best ways to check if the requirements are complete is to try to design black-box test cases against them.
检查需求是否完整的一个最好的办法就是设计一个与之相对应的黑盒测试用例。
The simulation test was completed through two mechanical design cases. The result shows that the algorithm has high efficiency, rapid speed of convergence and strong capability of global search.
最后通过对两个机械优化设计实例进行仿真试验,结果表明本算法求解效率高、收敛速度快、全局搜索能力强。
In fact we ran actual test cases and we did find a large number of faults, most of which were system design faults since we were not running the code but checking the system design.
事实上,我们运行了实际的测试用例,并且确实发现了大量的问题。问题中的大多数是系统设计缺陷,因为我们不是而是检查系统设计。
First one, when I write a piece of code, especially code that has branches in it, when I design test cases for that piece of code, I should try and have a specific test case for each possible path through the code.
第一点,当我们写代码的时候,尤其是一些含有分支语句的代码的时候,当我为这些代码,设计测试用例的时候,我应该为每一个可能的程序路径,都设计一个特别的用例。
应用推荐